package com.spzx.channel.vo;

import com.spzx.channel.domain.SpecValue;
import com.spzx.product.api.domain.dto.ProductDto;
import com.spzx.product.api.domain.dto.ProductSkuDto;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Data
@Schema(description = "商品详情 响应类")
public class ProductInfoVo implements Serializable {

    @Schema(description = "商品sku信息")
    private ProductSkuDto productSku;

    @Schema(description = "商品信息")
    private ProductDto product;

    @Schema(description = "sku价格信息")
    private SkuPrice skuPrice;

    @Schema(description = "轮播图")
    private List<String> sliderUrlList;

    @Schema(description = "详情图")
    private List<String> detailsImageUrlList;

    @Schema(description = "商品规格信息集合")
    private List<SpecValue> specValueList;

    @Schema(description = "商品sku库存信息")
    private SkuStockVo skuStockVo;

    @Schema(description = "商品sku与规格映射关系")
    private Map<String, Long> skuSpecValueMap;
}
